#include "Fence.h"
#include "Game.h"

Fence::Fence(Game *game ,const char *pathImage, double scaleRate)
	:Object(game, pathImage,scaleRate) 
{
	setType(KindOfObject::kFence);
}
void  Fence::draw()
{
	SDL_FillRect(screen, &rect.sdlRect , color);
}